package com.atgm.mall.gmmallperimall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("peri_goods_image")
public class PeriGoodsImageEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 图片地址
     */
    private String imgUrl;

    /**
     * 周边商品id
     */
    private Long periGoodsId;

    /**
     * 图片排序
     */
    private Integer imgSort;

    /**
     * 是否默认图片;0：否；1：是
     */
    private Integer defImg;
}
